<?php



    $accessToken="EAAZAURpDrFlUBO6ojmm3fhspg5XlDLAWUv5cJyk3FfTKNQzNlZCAeVfDJZB4o7RXtKawlF1FvSWZAGbeBuHU5aa3DIcJwDtxHLMCQMHprrVM502f4NRfMJGjOF9k5ZAfvT1yZBxmdpgswMfztdC8ZAbSxKO3aRGBvL5vjwNZCtx7M4XiFiuE76B2an7mZCJLJwCPksTMy2oqUuffKABriMyMuEHAZD";



    $postData = [
        "published"=> "false",
        "url"=> "https://evo.enpingshi.com/uploadfiles/evolution/201504290843310.jpg",
    ];



    $postUrl = "https://graph.facebook.com/v22.0/104932918958782/photos?access_token=".$accessToken;
    $postResponse = file_get_contents($postUrl, false, stream_context_create([
        'http' => [
            'method' => 'POST',
            'header' => "Content-type: application/json",
            'content' => json_encode($postData)
        ]
    ]));
    print_r($postResponse);



?>